package com.stardata.liangshisq.tcslmon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description  
 * @Author  Samson Shu
 * @email shush@stardata.top
 * @Date 2020-07-31 
 */

@Data
@TableName("tb_object_sync_log")
public class ObjectSyncLog  implements Serializable {

	private static final long serialVersionUID =  7091167475123552268L;

	private Long id;

	private Long objectId;

	/**
	 * 1：订单；2：订单项（菜品项）；
	 */
	private Long objectType;

	/**
	 * I：新增订单或订单项；U：更新订单；P：菜品项更新为已配菜（待传菜）；D：菜品项配菜中被退单；E：菜品项传菜中被退单；
	 */
	private String operType;

	private LocalDateTime createTime;

}
